package com.whsxt.service;

import com.whsxt.domain.OrderSettlement;

import java.util.Map;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-30 11:20
 * @Description:
 */
public interface PayService {


    /**
     * 调用支付，生成二维码
     *
     * @param orderSettlement
     * @return
     */
    String pay(OrderSettlement orderSettlement);


    /**
     * 验证签名是否正确
     *
     * @param map
     * @return
     */
    Boolean checkRes2(Map<String, String> map);


    /**
     * 支付成功后修改订单状态
     *
     * @param orderNum
     */
    void paySuccessChangeStatus(String orderNum);


}
